Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Make it unsafe to define NMI handlers #289

Merged
merged 5 commits into from
Aug 23, 2020
Merged

Make it unsafe to define NMI handlers #289

merged 5 commits into from
Aug 23, 2020

Conversation

jonas-schievink
Copy link
Contributor

@jonas-schievink jonas-schievink commented Aug 23, 2020

Reverts #257

Fixes #269
Fixes rust-embedded/cortex-m#196 (see that thread for details)

@rust-highfive
Copy link

r? @therealprof

(rust_highfive has picked a reviewer for you, use r? to override)

This is unsound unless you control the panic handler implementation.
Copy link
Contributor

@therealprof therealprof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@therealprof therealprof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uhm, just noticed that this is missing a CHANGELOG entry.

@jonas-schievink
Copy link
Contributor Author

We're missing all the changelog entries. I'll add one to #288 to avoid merge conflicts.

Copy link
Contributor

@therealprof therealprof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, but the plan was to keep the CHANGELOG entries together with the changes in the future.

bors+

@thalesfragoso
Copy link
Member

bors r=therealprof

@bors
Copy link
Contributor

bors bot commented Aug 23, 2020

Build succeeded:

@bors bors bot merged commit 3ce46b3 into rust-embedded:master Aug 23, 2020
@jonas-schievink jonas-schievink deleted the unsafe-nmi branch August 30, 2020 20:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants